package com.macro.mall.dao.cms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.cms.CmsTopicCommentDO;
import com.macro.mall.model.cms.CmsTopicCommentQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CmsTopicCommentMapper extends BaseMapper<CmsTopicCommentDO> {
    long countByExample(CmsTopicCommentQuery example);

    int deleteByExample(CmsTopicCommentQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(CmsTopicCommentDO record);

    int insertSelective(CmsTopicCommentDO record);

    List<CmsTopicCommentDO> selectByExample(CmsTopicCommentQuery example);

    CmsTopicCommentDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CmsTopicCommentDO record, @Param("example") CmsTopicCommentQuery example);

    int updateByExample(@Param("record") CmsTopicCommentDO record, @Param("example") CmsTopicCommentQuery example);

    int updateByPrimaryKeySelective(CmsTopicCommentDO record);

    int updateByPrimaryKey(CmsTopicCommentDO record);
}
